﻿using System;
using System.Web;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Data.Entity;
//using System.Data.Entity.Database;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Diagnostics;
using System.Web.Mvc;

namespace FILSTARTUPS_CMS.Models
{
    public class Role
    {
        [Key]
        public int roleidPK { get; set; }

        [Column]
        [Display(Name="Rolename")]
        [Required(ErrorMessage = "Rolename is required")]
        public string Rolename { get; set; }

        [Column]
        [Display(Name="Role Description")]
        [Required(ErrorMessage = "Role description is required")]
        public string RoleDescription { get; set; }

        public DateTime datecreated { get; set; }

    }
}